<!DOCTYPE html>

<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>富文本编辑器</title>

    <link rel="stylesheet" type="text/css" href="/stylesheets/simditor.css" />

    <script type="text/javascript" src="/javascripts/jquery.min.js"></script>
    <script type="text/javascript" src="/javascripts/module.js"></script>
    <script type="text/javascript" src="/javascripts/hotkeys.js"></script>
    <script type="text/javascript" src="/javascripts/uploader.js"></script>
    <script type="text/javascript" src="/javascripts/simditor.js"></script>
</head>

<body>

    <textarea id="ecut-editor" placeholder="在这里输入" autofocus></textarea>

    <script type="text/javascript">
        (() => {
            let options = {
                textarea: $('#ecut-editor'),
                upload: true
            }
            let editor = new Simditor(options);
        })();
    </script>

</body>

</html>